﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CPPEI.Coolzon.Core.Data;

namespace CPPEI.Coolzon.Core.Repositories
{
    public interface IPrivilegeRepository
    {
        PagedList<Privilege> GetPrivilegeList(DbContext context, int start, int limit);

        bool CreatePrivilege(DbContext context, Privilege privilege);

        bool RemovePrivilege(DbContext context, Privilege privilege);

        bool UpdatePrivilege(DbContext context, Privilege privilege);

        Privilege GetPrivilege(DbContext context, Guid privilegeId);
    }
}
